#define _CRT_SECURE_NO_WARNINGS 1

#include "seqlist.h"

void testSL1()
{
	SL sl;
	SLInit(&sl);

	SLPushBack(&sl, 1);
	SLPushBack(&sl, 2);
	SLPushBack(&sl, 2);
	SLPushBack(&sl, 2);
	SLPushBack(&sl, 2);
	Print(&sl);

	SLPopBack(&sl);
	Print(&sl);

	SLPushBack(&sl, 3);
	SLPushBack(&sl, 4);
	SLPushBack(&sl, 4);
	SLErase(&sl, 4);
	Print(&sl);

	SLPopFront(&sl);
	Print(&sl);

	SLInsert(&sl, 5, 100);
	SLPushFront(&sl, 10);

	Print(&sl);
}
int main()
{
	testSL1();

	return 0;
}